package com.huawei.appgallery.forum.user.usercenter.fragment;

import android.os.Bundle;
import android.view.View;
import com.huawei.appgallery.forum.base.ui.JGWTabFragment;
import com.huawei.appgallery.forum.user.api.IUserHomePageProtocol;
import com.huawei.appgallery.foundation.ui.framework.widget.NodataWarnLayout.e;
import com.huawei.hmf.annotation.FragmentDefine;
import o.bqv;
import o.bsl;
import o.epv;

@FragmentDefine(alias = "UserHomeTypeFragment", protocol = IUserHomePageProtocol.class)
public class UserHomeTypeFragment extends JGWTabFragment {
    public void ˏ(Bundle bundle) {
        String uri;
        IUserHomePageProtocol iUserHomePageProtocol = (IUserHomePageProtocol) this.ﹳ.ॱ();
        if (iUserHomePageProtocol != null) {
            uri = iUserHomePageProtocol.getUri();
        } else {
            uri = null;
        }
        this.ʼ = new bsl(this, "", uri, bqv.ˎ);
        super.ˏ(bundle);
    }

    public void ͺˏ() {
        if (this.ߴ != null) {
            this.ߴ.setWarnImage(י());
            this.ߴ.setWarnTextOne(ՙ());
            this.ߴ.setViewVisible(e.WARN_BTN, 8);
            this.ߴ.setViewVisible(e.WARN_TEXTTWO, 8);
            if (this.ߴ != null) {
                epv.ˋ(ᐝॱ().getConfiguration(), ॱˋ(), this.ߴ, new View[0]);
            }
        }
    }
}
